import VueRouter from 'vue-router'
import Vue from 'vue'
Vue.use(VueRouter);
export default new VueRouter({
	mode: 'history',
	baseUrl: '/',
	routes: [
		{
			path: '/',
			name: 'Home',
			component: () => import('../pages/Home.vue'),
			redirect: '/Drag',
			meta: {
				login: false
			},
			children: [
				{
					path: 'Drag',
					name: 'Drag',
					component: () => import('../pages/Drag/index.vue')
				},
				{
					path: 'LayoutGrid',
					name: 'LayoutGrid',
					component: () => import('../pages/LayoutGrid/index.vue')
				},
			]
		},
	]
});
